package com.douyin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.douyin.entity.Follow;
import com.douyin.vo.BasePage;

import java.util.Collection;
import java.util.List;

public interface IFollowService extends IService<Follow> {
    long getFollowerCount(String userId);

    long getFansCount(String userId);

    List<Long> getFollow(Long userId, BasePage basePage);


    List<Long> getFans(Long userId, BasePage basePage);

    Boolean follows(Long followId,Long userId);

    Boolean isFollows(Long followId,Long userId);
}
